package com.ee.chat.common.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ee.chat.common.bean.MenuTree;
import com.ee.chat.common.entity.AdminMenu;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Set;

/**
 * <p>
 * Mapper接口
 * </p>
 *
 * @author Shane
 * @since 2019-07-11
 */
public interface AdminMenuMapper extends BaseMapper<AdminMenu> {
    /**
     * 获取所有菜单权限id集合
     * @Author Shane
     * @Date 2019/7/2015:04
     * @param
     * @return
     **/
    List<Integer> getMenuPermissionIds();

    /**
     * 查询菜单
     * @Author Shane
     * @Date 2019/11/29 11:37
     * @param
     * @return
     **/
    AdminMenu selectByUrl(@Param("url") String url);
}